package cate.common.table.activity.treasure.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.treasure.row.TreasureCallRow;

public class TreasureCallSheet extends ESheet<TreasureCallRow> {
    @Override
    public String getSheetName() {
        return "抽奖";
    }

    public TreasureCallRow showCallType(int configId, int callType) {
        for (TreasureCallRow row : getList()) {
            if (row.configId == configId & row.type == callType) {
                return row;
            }
        }
        return null;
    }
}
